@import "../../styles/global/variables.less";
label.error {
  padding:@padding-xs-vertical @padding-small-vertical;
  border-radius:@border-radius-base;
  font-size:@font-size-small;
  line-height: 21px;
  display: table-cell;
  background: @alert-danger-bg;
  boder:@alert-danger-border;
  color:@alert-danger-text;

}


label.error:before {
  top: 50%;
  left: -6px;
  margin-top: -5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 8px 7px 0;
  content: '';
  position: absolute;
  border-color: transparent @alert-danger-bg transparent transparent;
}

/* 悬浮提示 */
.validate-error {
  position: relative;
}
.validate-error .error {
  border-color: #cc3f44;
}
.validate-error .select2.error .select2-selection--single {
  border: 1px solid #cc3f44 ;
}
.validate-error .validate-has-error, .validate-error .validate-has-error-ex {
  display: inline-block;
  white-space: nowrap;
  background: @alert-danger-bg;
  color:@alert-danger-text;
  border-radius:@border-radius-base;

  padding:@padding-xs-vertical @padding-small-vertical;
  font-size:@font-size-small;
  line-height: 20px;
  position: absolute;
  z-index: 10;
  margin:-11px 0 0 (@padding-small-vertical)+3;
}
 .validate-error .validate-has-error:before, .validate-error .validate-has-error-ex:before {
   position: absolute;
   top: 50%;
   left: -6px;
   margin-top: -5px;
   width: 0;
   height: 0;
   border-style: solid;
   border-width: 4px 8px 7px 0;
   border-color: transparent @alert-danger-bg transparent transparent;
   content: '';

 }










